/*
 *      Copyright (c) 2018-2028, Chill Zhuang All rights reserved.
 *
 *  Redistribution and use in source and binary forms, with or without
 *  modification, are permitted provided that the following conditions are met:
 *
 *  Redistributions of source code must retain the above copyright notice,
 *  this list of conditions and the following disclaimer.
 *  Redistributions in binary form must reproduce the above copyright
 *  notice, this list of conditions and the following disclaimer in the
 *  documentation and/or other materials provided with the distribution.
 *  Neither the name of the dreamlu.net developer nor the names of its
 *  contributors may be used to endorse or promote products derived from
 *  this software without specific prior written permission.
 *  Author: Chill 庄骞 (smallchill@163.com)
 */
package org.springblade.modules.classes.vo;

import io.swagger.annotations.ApiModelProperty;
import org.springblade.modules.classes.entity.ClassesEntity;
import org.springblade.core.tool.node.INode;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springblade.modules.personal.entity.UserBaseEntity;

import java.util.List;

/**
 * 班级表 视图实体类
 *
 * @author junxin
 * @since 2023-04-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class ClassesVO extends ClassesEntity {
	private static final long serialVersionUID = 1L;
	private String trainingPlanName;// 培训计划名称
	private Long students;//班级总人数
	private ClassesPlanVO classesPlan;//班级培训计划
	private Long trainPlanId;//培训计划Id
	private List<UserBaseEntity> classesUserList;//班级下的用户明细
	/**
	 * 是否需要考核(0 否，1是)
	 * 如果是1，需要安排考试
	 */
	@ApiModelProperty(value = "是否需要考核(0 否，1是)")
	private Integer isExam;
}
